package com.xxwy.ddu.common.exception;

import com.xxwy.ddu.common.exception.BaseException;
import com.xxwy.ddu.common.exception.HttpCode;

/**
 * 非法参数导致
 * @author xxwy
 * on 2018/7/30 0030
 */
public class IllegalParameterException extends BaseException {

    private static final long serialVersionUID = -6181865156337575048L;

    public IllegalParameterException() {
    }

    public IllegalParameterException(Throwable ex) {
        super(ex);
    }

    public IllegalParameterException(String message) {
        super(message);
    }

    public IllegalParameterException(String message, Throwable ex) {
        super(message, ex);
    }

    protected Integer getCode() {
        return HttpCode.BAD_REQUEST;
    }


}
